﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RendicionVentaOPTEditForm.aspx.cs" Inherits="UILGestion.VentaAdmin.RendicionVenta.RendicionVentaOPTEditForm" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register src="PendientePagoPanel.ascx" tagname="PendientePagoPanel" tagprefix="uc1" %>
<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
  <script src="../../Scripts/BuscarCliente.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input id="idOrdenVenta" type="hidden" runat="server" />
    <input id="idProyecto" type="hidden" runat="server" />
      <uc2:menuCtrl ID="menuCtrl1" runat="server" />

       <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" 
      EnableScriptGlobalization="true"  EnablePartialRendering="true" />

       <asp:Panel ID="pnlMain" runat="server"
  
                CssClass="Heading secTitle AreaHeading ms-crm-List-Header "  >
<asp:Label ID="Label2" runat="server" Text="PENDIENTES DE PAGO" 
            style="font-size: large; color: #960818"></asp:Label>
</asp:Panel>


<br />

 <asp:Panel ID="pnl" runat="server" BackColor="White">
        <table class="ui-accordion" style="background-color:White">


                                         <tr>
                                             <td align="right" width="100px">
                                                
                                                  ID:</td>
                                             <td >
                                                 <lib:Input ID="idClienteTXT" runat="server"  
                                                          ReadOnly="true" Width="35px"></lib:Input>
                                             </td>
                                             <td align="right" width="100px" >
                                                 Concepto:</td>
                                             <td>
                                                 <asp:DropDownList ID="conceptoDDL" runat="server" AutoPostBack="true" 
                                                     Width="250px">
                                                 </asp:DropDownList>
                                             </td>
                                         </tr>
                                          <tr>
                                             <td align="right" width="100px" valign="top">
                                                
                                                      Nombre:</td>
                                             <td width="300px" >
                                                <b style="font-size:medium">
                                                <asp:Label ID="cliente1TXT" runat="server" ></asp:Label>
                                                </b>
                                                  </td>
                                             <td align="right" >
                                                      Moneda:</td>
                                             <td>
                                                 <asp:DropDownList ID="monedaDDL" runat="server" AutoPostBack="true" 
                                                     Width="250px">
                                                 </asp:DropDownList>
                                             </td>
                                         </tr>

         
                                          <tr>
                                             <td align="right" width="100px">
                                                
                                                  <lib:Input ID="docClienteTXT" runat="server" BackColor="Transparent" 
                                                      ReadOnly="true" Width="25px"></lib:Input>
                                              </td>
                                             <td >
                                                 <lib:Input ID="numDocClienteTXT" runat="server" BackColor="Transparent" 
                                                     ReadOnly="true" Width="100px"></lib:Input>
                                             </td>
                                             <td >
                                                 &nbsp;</td>
                                              <td>
                                                  &nbsp;</td>
                                         </tr>
                                         </table>
<hr />

<asp:UpdatePanel runat="server" ID="pendienteUPNL"  UpdateMode="Conditional">

<ContentTemplate>
    <uc1:PendientePagoPanel ID="PendientePagoPanel1" runat="server"  DataSourceID="PendientePagoPanelODS"  />

    
        <asp:ObjectDataSource ID="PendientePagoPanelODS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="Execute" 
        SortParameterName="sortExpression"
        TypeName="BOL.Ventas.GetPendientePagoList">
        <SelectParameters>
        <asp:QueryStringParameter Name="idProyecto" QueryStringField="idProyecto"  Type="Int32" />
            <asp:ControlParameter Name="idConcepto" Type="Int32" ControlID="conceptoDDL"/>
             <asp:ControlParameter Name="idMoneda" Type="Int32" ControlID="monedaDDL"/>
            <asp:ControlParameter Name="idCliente" Type="Int32" ControlID="idClienteTXT"/>
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
   
   
    <asp:LinkButton ID="siguienteLKB" runat="server" Text="Siguiente"  class="button"
        onclick="siguienteLKB_Click"></asp:LinkButton>

   </ContentTemplate>
   <Triggers>
   
   <asp:AsyncPostBackTrigger  ControlID="conceptoDDL" />
   <asp:AsyncPostBackTrigger  ControlID="monedaDDL" />

   </Triggers>
   </asp:UpdatePanel>


</asp:Panel>


   

    </form>
</body>
</html>
